package deng.scala.examples

object Hello {
	def main(args : Array[String]) {
		val main = new Hello("World", System.out)
		main.run()
	}
}

import java.io._
class Hello(name : String, out : PrintStream) {
	def run() {
		out.println("Hello " + name)
	}
}
